/**
 * 
 */
package com.roc.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 终端信息表关联表
 * 
 * @author 陈锴
 * 
 * 2014-08-14
 */
@Entity
@Table(name = "t_term_info")
public class TermInfo implements Serializable{


	@Id
	@Column(name = "TERMID")
	private String termId;   //终端号
	
	@Column(name = "TERM_ADDR")
	private String termAddr;  //安装地址
	
	@Column(name = "INSTALL_STATUS")
	private String installStatus;  //安装类型
	
	@Column(name = "TERMINAL_NAME")
	private String terminalName;   //门店名称
	
	@Column(name = "REMARK")
	private String note;   //备注
	
	@Column(name="SERIAL_NUM")
	private String  serialNum; //序列号

	
	@Column(name="OPERATORS")
	private String  operators; //操作员
	
	@Column(name="DT_CREATE")
	private Date  dt_create; //创建时间
	
	@Column(name="DT_LASTMOD")
	private Date  dt_lastmod; //修改时间
	
	
	@Transient
	private String mid;  //商户号
	
	@Transient
	private String termFlag;  //终端状态
	
	@Transient
	private Estidinfo estidinfo; //终端表
	
	public TermInfo() {
		// TODO Auto-generated constructor stub
	}

	public String getTermId() {
		return termId;
	}

	public void setTermId(String termId) {
		this.termId = termId;
	}

	public String getTermAddr() {
		return termAddr;
	}

	public void setTermAddr(String termAddr) {
		this.termAddr = termAddr;
	}

	public String getInstallStatus() {
		return installStatus;
	}

	public void setInstallStatus(String installStatus) {
		this.installStatus = installStatus;
	}

	public String getTerminalName() {
		return terminalName;
	}

	public void setTerminalName(String terminalName) {
		this.terminalName = terminalName;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public Estidinfo getEstidinfo() {
		return estidinfo;
	}

	public void setEstidinfo(Estidinfo estidinfo) {
		this.estidinfo = estidinfo;
	}

	public String getTermFlag() {
		return termFlag;
	}

	public void setTermFlag(String termFlag) {
		this.termFlag = termFlag;
	}

	public String getOperators() {
		return operators;
	}

	public void setOperators(String operators) {
		this.operators = operators;
	}

	public Date getDt_create() {
		return dt_create;
	}

	public void setDt_create(Date dtCreate) {
		dt_create = dtCreate;
	}

	public Date getDt_lastmod() {
		return dt_lastmod;
	}

	public void setDt_lastmod(Date dtLastmod) {
		dt_lastmod = dtLastmod;
	}
	
}
